

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false"%>
<%
  //添加属性，让Listener监听执行attributeAdded方法
  request.setAttribute("myListener01","监听");
%>
<html>
<head>
  <title>模拟监听页面</title>
</head>
<body>
<button onclick="location.href=
        '<%=request.getContextPath()%>/myListener02.jsp';">新建</button>
</body>
</html>
